Component({
    properties: {},
    data: {
        popShow: !1,
        radio: 0
    },
    methods: {
        setPopShow: function() {
            this.setData({
                popShow: !this.data.popShow
            });
        },
        onChange: function(t) {
            this.setData({
                radio: t.detail
            });
        },
        send: function() {
            var t = 0 == this.data.radio ? "not_received" : "received";
            this.triggerEvent("confirm", {
                status: t
            }), this.setPopShow();
        },
        setRadio: function(t) {
            this.setData({
                radio: t
            });
        }
    }
});